package org.wuqi.microweb.api.schedule;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author jjj
 * @program: earnest-money
 * @description:TODO
 * @date 2024-01-02 13:59:57
 */
@Component
public class ScheduleTask {
    public static final Logger LOGGER =  LoggerFactory.getLogger(ScheduleTask.class);
    @Scheduled(cron = "0 */5 * * * ?")
    public void test(){
    LOGGER.info(">>>>>>>> ScheduledTask doing ...");
    }
}
 
 